<template>
	<view class="header">
		<!-- 标题 -->
		<view class="title">
			{{title}}
		</view>
		<!-- 权限提示 -->
		<view class="text">
			{{text}}
		</view>
	</view>
</template>

<script>
export default {
	props:[
		'title',
		'text'],
	}
</script>

<style scoped lang="scss">
	.header{
		display: flex;
		align-items: center;
		width: 100%;
		height: 16*3rpx;
		padding: 16*2rpx;
		background-color: $uni-text-color-inverse;
		.title{
			font-size: 16*2rpx;
			line-height: 16*2rpx;
			color: #000000;
			
		}
		.text{
			font-size: 12*2rpx;
			line-height: 12*2rpx;	
			text-align: center;
			color: #999999;
			padding-top:6rpx;
			padding-left:12rpx;
		}
	}
</style>
